import api from "../global_variable";
const baseUrl = api.apiUrl;
export default {
  // 阅读器 查询章节列表
  getChapterList: baseUrl + "/bookChapter/chapterList",
  // 查询章节详情
  getChapterDetails: baseUrl + "/bookChapter/chapterDetails",

  // 书籍阅读记录管理
  // 书籍末尾推荐
  bookLastRecommend: baseUrl + "/read/bookLastRecommend",
  // 查询用户的书籍阅读记录
  getBookRead: baseUrl + "/read/bookRead",
  // 购买章节
  buyChapter: baseUrl + "/read/buyChapter",
  // 查询用户的书籍阅读记录(分页)
  getUserReadRecord: baseUrl + "/read/getUserReadRecord",
  // 上传阅读记录
  getReadSave: baseUrl + "/read/save",

  // 书架相关
  // 添加书籍到书架
  addBookToBookCase: baseUrl + "/bookcase/addBookToBookCase",
  // 删除书架书籍
  delBookToBookCase: baseUrl + "/bookcase/delBookToBookCase",
  // 我的书架
  myBookshelf: baseUrl + "/bookcase/myBookshelf",
};
